<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>v-cloak指令</title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="root">
			<h2 v-cloak>{{name}}</h2>
		</div>
		<script type="text/javascript">
			var cloak = new Vue({
				el:"#root",
				data:{
					name:'v-cloak指令',
				},
			});
		</script>
	</body>
</html>
